home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / xearth-0.92 / gifint.h < prev    next >
C/C++ Source or Header  |  1995-06-25  |  2KB  |  53 lines

  1. /*
  2.  * giflib/gifint.h
  3.  * kirk johnson
  4.  * november 1989
  5.  *
  6.  * RCS $Id: gifint.h,v 1.4 1994/05/20 01:37:40 tuna Exp $
  7.  *
  8.  * Copyright (C) 1989, 1990, 1993, 1994 Kirk Lauritz Johnson
  9.  *
  10.  * Parts of the source code (as marked) are:
  11.  *   Copyright (C) 1989, 1990, 1991 by Jim Frost
  12.  *   Copyright (C) 1992 by Jamie Zawinski <jwz@lucid.com>
  13.  *
  14.  * Permission to use, copy, modify, distribute, and sell this
  15.  * software and its documentation for any purpose is hereby granted
  16.  * without fee, provided that the above copyright notice appear in
  17.  * all copies and that both that copyright notice and this
  18.  * permission notice appear in supporting documentation. The author
  19.  * makes no representations about the suitability of this software
  20.  * for any purpose. It is provided "as is" without express or
  21.  * implied warranty.
  22.  *
  23.  * THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  24.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS,
  25.  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT
  26.  * OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  27.  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  28.  * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
  29.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  30.  */
  31.  
  32. #ifndef _GIFINT_H_
  33. #define _GIFINT_H_
  34.  
  35. #include "giflib.h"
  36. #include "kljcpyrt.h"
  37.  
  38. #define GIF_SIG      "GIF87a"
  39. #define GIF_SIG_LEN  ((unsigned) 6) /* GIF signature length */
  40. #define GIF_SD_SIZE  ((unsigned) 7) /* GIF screen descriptor size */
  41. #define GIF_ID_SIZE  ((unsigned) 9) /* GIF image descriptor size */
  42.  
  43. #define GIF_SEPARATOR   ','     /* GIF image separator */
  44. #define GIF_EXTENSION   '!'     /* GIF extension block marker */
  45. #define GIF_TERMINATOR  ';'     /* GIF terminator */
  46.  
  47. #define STAB_SIZE  4096         /* string table size */
  48. #define PSTK_SIZE  4096         /* pixel stack size */
  49.  
  50. #define NULL_CODE  -1           /* string table null code */
  51.  
  52. #endif
  53.